package net.xconcepts.stockdata.model;

import net.xconcepts.stockdata.model.analysis.symbol.Symbol;

public class TraderAction {
	
	public final Action action;
	public final Symbol symbol;
	public final int amount;
	public final double marketPrice;
	
	public TraderAction(Action action, Symbol symbol, int amount, double marketPrice) {
		super();
		this.action = action;
		this.symbol = symbol;
		this.amount = amount;
		this.marketPrice = marketPrice;
	}

	public String toString() {
		return action.toString() + " " + symbol.symbolName + " " + amount;
	}
	
	public enum Action {
		BUY,
		SELL,
	}
	
}
